package paul.idtech.lostTraveller.model;

public class item {

	//variables
	int id;
	int attackDamage;
	String name;
	private final String[] itemNames={"Wooden Stick","","Stone Spear"};
	private final int[] itemDamages={10,5,15};
	
	//constructor
	
	public item(int id){
		this.id=id;
		this.attackDamage = itemDamages[id];
		this.name = itemNames[id];
		
	}
	
	
	//methods
	public String getName(){
		
		return name;
		
	}
	
	public int getDamage(){
		
		return attackDamage;
		
	}
	public int returnId(){
		
		return id;
	}
	
}
